Skip to content

Conversation

@toupper
Copy link
Contributor

@toupper toupper commented Nov 12, 2025

Description

With this PR we hide those lines from the order lines which value is zero. The function used to compare BigDecimal wasn't giving our expected behavior, so fixing that solved the issue.

Other than that, we align with iOS on the Discount texts, now it's "Discount total".

Test Steps

With an order that doesn't have any shipping or discount:

  1. Go to POS
  2. Open Orders
  3. Check that Order
  4. See that shipping or discount are hidden

Images/gif

Before

image

After

Screenshot_20251112_123830_Woo (Dev)

  • I have considered if this change warrants release notes and have added them to RELEASE-NOTES.txt if necessary. Use the "[Internal]" label for non-user-facing changes.

@toupper toupper added this to the 23.6 ❄️ milestone Nov 12, 2025
@toupper toupper requested a review from kidinov November 12, 2025 11:41
@wpmobilebot
Copy link
Collaborator

wpmobilebot commented Nov 12, 2025

📲 You can test the changes from this Pull Request in WooCommerce-Wear Android by scanning the QR code below to install the corresponding build.
App NameWooCommerce-Wear Android
Platform⌚️ Wear OS
FlavorJalapeno
Build TypeDebug
Commitc507227
Direct Downloadwoocommerce-wear-prototype-build-pr14940-c507227.apk

@wpmobilebot
Copy link
Collaborator

📲 You can test the changes from this Pull Request in WooCommerce Android by scanning the QR code below to install the corresponding build.

App NameWooCommerce Android
Platform📱 Mobile
FlavorJalapeno
Build TypeDebug
Commitc507227
Direct Downloadwoocommerce-prototype-build-pr14940-c507227.apk

Copy link
Contributor

@kidinov kidinov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! LGTM!

@kidinov kidinov merged commit 9a2ef7e into fix/pos-historical-orders-fixes-for-beta Nov 12, 2025
18 checks passed
@kidinov kidinov deleted the fix/pos-historical-orders-remove-0-lines branch November 12, 2025 14:38
@toupper toupper mentioned this pull request Nov 13, 2025
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants